﻿package src.game{
	import flash.events.Event;
	public class GameEvent extends Event {
		private var userInf:Array;
		public static const REMOVE_OBJECT:String = "Remove";
		public static const LEVEL_CLEARED:String = "Level Cleared";
		
		public function GameEvent(type:String, bubbles:Boolean, cancelable:Boolean, userInf:Array=null){
      		super(type,bubbles,cancelable);
   			this.userInf = userInf;
		}
		
		public function get userInfo():Array{
      		return userInf;
		}
		
		override public function clone():Event{
     		return new GameEvent(type, bubbles, cancelable, userInf);
		}
	}
	
}
